package com.lechicanh.cgrid.ke.api.job;

import java.io.Serializable;

public class Job implements Serializable {
	private static final long serialVersionUID = 2001L;
	private String m_sender;
	private String m_receiver;
	private Long m_id;
	private String m_message;
	private Long m_fromPage;
	private Long m_toPage;
	public Job(String sender, String receiver, Long id, String message){
		this(sender, receiver, id, message, 0, 0);
	}
	public Job(String sender, String receiver, Long id, String message, long fromPage, long toPage){
		m_sender = sender;
		m_receiver = receiver;
		m_id = id;
		m_message =  message;
		m_fromPage = fromPage;
		m_toPage = toPage;
	}
	public Job(){
		
	}
	public Long getId() {
		return m_id;
	}
	public void setId(Long id){
		m_id = id;
	}
	public String getMessage(){
		return m_message;
	}
	public void setMessage(String message){
		m_message = message;
	}
	public String getSender(){
		return m_sender;
	}
	public void setSender(String sender){
		m_sender = sender;
	}
	public String getReciever(){
		return m_receiver;
	}
	public void setReciever(String receiver){
		m_receiver = receiver;
	}
	public Long getFromPage(){
		return m_fromPage;
	}
	public void setSetFromPage(Long fromPage){
		m_fromPage = fromPage;
	}
	public Long getToPage(){
		return m_toPage;
	}
	public void setSetToPage(Long toPage){
		m_toPage = toPage;
	}
}
